import http from "@/utils/fetch";


// 订单用户
export function getUserList(params) {
  return http.post("/Antchain/zlb/orderUser", params);
}

/**
 * 
 * @param {*orderId} params 
 * @returns 
 */
export function updateLease(params) {
  return http.post("/Admin/Order/updateLease", params);
}
// 订单
export function getOrderList(params) {
  return http.post("/Antchain/zlb/orderList", params);
}
// 订单商品
export function getGoodsList(params) {
  return http.post("/Antchain/zlb/orderGoods", params);
}
// 订单承诺
export function getPromiseList(params) {
  return http.post("/Antchain/zlb/orderPromise", params);
}
// 订单履约
export function getRentalList(params) {
  return http.post("/Antchain/zlb/orderRental", params);
}
// 订单物流
export function getLogisticsList(params) {
  return http.post("/Antchain/zlb/orderLogistics", params);
}
// 融资查询
export function getFinancList(params) {
  return http.post("/Antchain/zlb/financingList", params);
}
// 融资查询详情
export function financDetails(params) {
  return http.post("/Antchain/zlb/orderInfo", params);
}
// 租赁宝添加上链任务
export function toChain(params) {
  return http.post("/Antchain/zlb/toTask", params);
}
